
<?php
if ($this->pageCount): ?>
<div id="paginationControl">
    <!-- Previous page link -->
        <?php if (isset($this->previous)): ?>
    <a href="<?php echo $this->url(array('page' => $this->previous)).'?'.
                       $_SERVER['QUERY_STRING']; ?>">&lt; <?php echo $this->translate("precedent");
                ?></a> |
        <?php else: ?>
    <span class="disabled">&lt; <?php echo $this->translate("precedent"); ?></span> |
        <?php endif; ?>
    <!-- Numbered page links -->
        <?php foreach ($this->pagesInRange as $page): ?>
            <?php if ($page != $this->current): ?>
    <a href="<?php echo $this->url(array('page' => $page)).'?'.
                           $_SERVER['QUERY_STRING']; ?>"><?php echo $page; ?></a> |
               <?php else: ?>
    <span class="current"><?php echo $page; ?></span> |
            <?php endif; ?>
        <?php endforeach; ?>
    <!-- Next page link -->
        <?php if (isset($this->next)): ?>
    <a href="<?php echo $this->url(array('page' => $this->next)).'?'.
                       $_SERVER['QUERY_STRING']; ?>"><?php echo $this->translate("suivant"); ?>
        &gt;</a>
        <?php else: ?>
    <span class="disabled"><?php echo $this->translate("suivant"); ?> &gt;</span>
        <?php endif; ?>
</div>
<?php endif; ?>
                